package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 库存表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "store")
public class Store implements Serializable {
    /**
     * 仓库id
     */
    @TableId(value = "store_no", type = IdType.INPUT)
    private Integer storeNo;

    /**
     * 仓库名称
     */
    @TableField(value = "store_name")
    private String storeName;

    /**
     * 仓库编码
     */
    @TableField(value = "store_code")
    private String storeCode;

    /**
     * 仓库状态（0是停用，1是启用）
     */
    @TableField(value = "store_state")
    private Integer storeState;

    /**
     * 仓库地址
     */
    @TableField(value = "store_address")
    private String storeAddress;

    /**
     * 仓库类型
     */
    @TableField(value = "store_type")
    private Integer storeType;

    /**
     * 更新时间
     */
    @TableField(value = "store_time")
    private Date storeTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    private static final long serialVersionUID = 1L;
}